home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / PowerPlant / 3D Additions 1.7 / 3D Additions / 3DGrays.h < prev    next >
Encoding:
Text File  |  1995-02-03  |  1.5 KB  |  34 lines  |  [TEXT/CWIE]

  1. // ============================================================================
  2. //    3DGrays.h           ©1995 J. Rodden, DD/MF & Associates. All rights reserved
  3. // ============================================================================
  4. // Constant definitions of the 16 basic grays.
  5.  
  6. #pragma once
  7.  
  8. // 8Bit gray shade constants
  9. const    RGBColor    kGray0    = { 0x0000, 0x0000, 0x0000 };
  10. const    RGBColor    kGray1    = { 0x1111, 0x1111, 0x1111 };
  11. const    RGBColor    kGray2    = { 0x2222, 0x2222, 0x2222 };
  12. const    RGBColor    kGray3    = { 0x3333, 0x3333, 0x3333 };    //
  13. const    RGBColor    kGray4    = { 0x4444, 0x4444, 0x4444 };
  14. const    RGBColor    kGray5    = { 0x5555, 0x5555, 0x5555 };
  15. const    RGBColor    kGray6    = { 0x6666, 0x6666, 0x6666 };    //
  16. const    RGBColor    kGray7    = { 0x7777, 0x7777, 0x7777 };
  17. const    RGBColor    kGray8    = { 0x8888, 0x8888, 0x8888 };    // MediumGray
  18. const    RGBColor    kGray9    = { 0x9999, 0x9999, 0x9999 };    //
  19. const    RGBColor    kGrayA    = { 0xAAAA, 0xAAAA, 0xAAAA };    // MediumLightGray
  20. const    RGBColor    kGrayB    = { 0xBBBB, 0xBBBB, 0xBBBB };    // LightGray4
  21. const    RGBColor    kGrayC    = { 0xCCCC, 0xCCCC, 0xCCCC };
  22. const    RGBColor    kGrayD    = { 0xDDDD, 0xDDDD, 0xDDDD };    // LightGray2
  23. const    RGBColor    kGrayE    = { 0xEEEE, 0xEEEE, 0xEEEE };    // LightGray
  24. const    RGBColor    kGrayF    = { 0xFFFF, 0xFFFF, 0xFFFF };
  25.  
  26.  
  27. const    RGBColor    kBlack  = kGray0;            // For convienience...
  28. const    RGBColor    kWhite  = kGrayF;
  29.  
  30. const    RGBColor    kBackgroundGray    = kGrayE;    // Background color recommended in Develop #15
  31. const    RGBColor    kShadowGray        = kGrayA;    // Shadow color recommened in Develop #15
  32.  
  33. const    short        k3DMinBitDepth    = 4;
  34.